﻿using Abp.Application.Services;
using Abp.Application.Services.Dto;
using Akso.Entities;
using Akso.ItemDetails.Dto;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Akso.ItemDetails
{
    public interface IItemDetailAppService: IApplicationService
    {
        /// <summary>
        /// 获取数据记录
        /// </summary>
        /// <param name="input"></param>
        /// <returns></returns>
        Task<ListResultDto<ItemDetailListDto>> GetObjects(GetItemDetailsInput input);
        Task<ItemDetail> CreateOrUpdateObject(CreateOrUpdateItemDetailInput input);
        Task<GetItemDetailForEditOutput> GetObjectForEdit(NullableIdDto<Guid> input);
        Task DeleteObject(EntityDto<Guid> input);
    }
}
